package com.example.demo.customer;

import org.springframework.stereotype.Repository;

import java.util.Arrays;
import java.util.List;

@Repository(value = "fake")
public class CustomFakeRepository implements CustomRepo{
    @Override
    public List<Customer> getCustomers(){
        return Arrays.asList(
                new Customer(1L,"张学友","666"),
                new Customer(2L,"刘德华","777")
        );
    }
}
